﻿using System;
using System.Collections.Generic;

namespace YJKStairs.CommonUnit
{
	public class StairsConstNameManager
	{
		public static List<string> GetAllStairsName()
		{
			return new List<string>
			{
				"直段单跑楼梯",
				"弧形楼梯",
				"直段双跑楼梯",
				"连续直段楼梯",
				"双分平行楼梯",
				"双分转角楼梯",
				"双分三跑楼梯",
				"三角楼梯",
				"矩形转角楼梯",
				"剪刀楼梯",
				"交叉楼梯",
				"钢梯",
				"多跑楼梯"
			};
		}

		public static bool IsStartsWithStairsName(string str)
		{
			bool result = false;
			if (string.IsNullOrEmpty(str))
			{
				return result;
			}
			foreach (string value in StairsConstNameManager.GetAllStairsName())
			{
				if (str.StartsWith(value))
				{
					result = true;
					break;
				}
			}
			return result;
		}

		public const string m_sLinearSingleRunStairs = "直段单跑楼梯";

		public const string m_sArcSingleRunStairs = "弧形楼梯";

		public const string m_sLinearDoubleRunStairs = "直段双跑楼梯";

		public const string m_sLinearPlatformStairs = "连续直段楼梯";

		public const string m_sDoubleBranchParallelStairs = "双分平行楼梯";

		public const string m_sDoubleBranchAngleStairs = "双分转角楼梯";

		public const string m_sDoubleBranchThreeRunStairs = "双分三跑楼梯";

		public const string m_sTrigonStairs = "三角楼梯";

		public const string m_sRectangleAngleStairs = "矩形转角楼梯";

		public const string m_sClipperStairs = "剪刀楼梯";

		public const string m_sCrossingStairs = "交叉楼梯";

		public const string m_sEscalator = "自动扶梯";

		public const string m_sSteelStairs = "钢梯";

		public const string m_sMultiRunStairs = "多跑楼梯";
	}
}
